package com.smooth.site.sx.pc.company.enums;

public enum CompNatureEnums {
	siying(1, "私营"),
	guoqi(2, "国企 "),
	zhongwai(3, "中外合资"),
	waizi(4, "外资"),
//	1 	私营 	
//	2 	国企 	
//	3 	中外合资 	
//	4 	外资
	;

	public Integer value;
	public String name;

	CompNatureEnums(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static CompNatureEnums getStatus(Integer value) {
		if (value != null) {
			CompNatureEnums[] otypes = CompNatureEnums.values();
			for (CompNatureEnums memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
